home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Designer's Club 1997 January
/
Designer's Club 1997 January.iso
/
mac
/
Idea Source
/
ACE.DIR
/
00045_Script_45
< prev
next >
Wrap
Text File
|
1996-11-25
|
2KB
|
79 lines
on exitFrame
go the frame
tools
set the castnum of sprite 2 to 6
if rollover (7) then
go frame "center6"
Set the locH of sprite 2 to the locH of sprite 1 - 200
Set the locV of sprite 2 to the locV of sprite 1 - 200
updatestage
if the mousedown then
if sprite 2 intersects 3 then
sound playFile 1, "gotem.aif"
puppetsprite 2, true
set the castnum of sprite 2 to 31
updatestage
go frame "win"
exit
else
sound playFile 1, "guns.aif"
end if
end if
end if
if rollover (8) then
go frame "right6"
repeat while rollover (8)
if the mousedown then sound playFile 1, "guns.aif"
set the locH of sprite 1 to ( the locH of sprite 1 - 10)
if the locH of sprite 1 < 5 then
set the locH of sprite 1 to 5
end if
set the locH of sprite 2 to the locH of sprite 1 - 200
set the locV of sprite 2 to the locV of sprite 1 - 200
updatestage
end repeat
end if
if rollover (9) then
go frame "left6"
repeat while rollover (9)
if the mousedown then sound playFile 1, "guns.aif"
set the locH of sprite 1 to ( the locH of sprite 1 + 10)
if the locH of sprite 1 > 600 then
set the locH of sprite 1 to 600
end if
set the locH of sprite 2 to the locH of sprite 1 - 200
set the locV of sprite 2 to the locV of sprite 1 - 200
updatestage
end repeat
end if
if rollover (10) then
go frame "up6"
repeat while rollover (10)
if the mousedown then sound playFile 1, "guns.aif"
set the locV of sprite 1 to ( the locV of sprite 1 + 10)
if the locV of sprite 1 > 630 then
set the locV of sprite 1 to 630
end if
set the locH of sprite 2 to the locH of sprite 1 - 200
set the locV of sprite 2 to the locV of sprite 1 - 200
updatestage
end repeat
end if
if rollover (11) then
go frame "down6"
repeat while rollover (11)
if the mousedown then sound playFile 1, "guns.aif"
set the locV of sprite 1 to ( the locV of sprite 1 - 10)
if the locV of sprite 1 < -230 then
set the locV of sprite 1 to -230
end if
set the locH of sprite 2 to the locH of sprite 1 - 200
set the locV of sprite 2 to the locV of sprite 1 - 200
updatestage
end repeat
end if
end